package typejump.commands;

import java.awt.Color;

import typejump.engine.GameEngine;

public class DevColors implements TextCommand {

	@Override
	public boolean matches(String command) {
		return command.matches("dev colors");
	}

	@Override
	public void act(String command) {
		Color f = GameEngine.getForegroundColor();
		Color b = GameEngine.getBackgroundColor();
		GameEngine.setForegroundColor(b);
		GameEngine.setBackgroundColor(f);
	}

}
